import requests


class IHRMDelEmpApi:
    @classmethod
    def del_emp_api(cls,emp_id,token):
        url = 'http://ihrm2-test.itheima.net/api/sys/user/'+emp_id
        header = {"Authorization": token}
        resp = requests.delete(url=url, headers=header)
        return  resp


